﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.Test.ServiceReference1;
using WCFMINERP.SharpZipLib;
using System.Xml;

namespace MINERP.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            //TransferFileClient tc = new TransferFileClient();
            //WCFMINERP.ContextPropagation.ApplicationContext.Current.Shopid = 16;
            //WCFMINERP.ContextPropagation.ApplicationContext.Current.ShopName = "上海惟鸿";
            //var list = tc.GetShopFileList();
            ZipClass zip = new ZipClass();
            //ZipClass.ZipFolder(@"\\192.168.0.110\Server上的文件备份\照片目录\自动开单目录\S0016201107220001.zip", @"\\192.168.0.110\Server上的文件备份\照片目录\自动开单目录\S0016201107220001");
            //XmlDocument xml = new XmlDocument();
            //xml.Load(@"\\192.168.0.110\Server上的文件备份\照片目录\自动开单目录\S0016201107220001\S0016201107220001.xml");
            ZipClass.ZipFolder(@"D:\更新.zip", @"D:\更新");
        }
    }
}
